<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <title>智付系统</title>
    <link rel="stylesheet" href="../css/base.css" type="text/css" />
    <link rel="stylesheet" href="../css/style.css" type="text/css" />
</head>
<body>
<div class="com-title">
	渠道管理<i class="icon icon-jt"></i><span class="c-828c91">新增渠道</span>
    <a href="渠道管理.html" class="com-back"><i class="icon icon-back"></i>返回</a>
</div>
<div class="wrapper">
	<div class="chan-box pb30 mt20">
    	<div class="ca-top">
        	<div class="ca-tit">渠道信息</div>
            <div class="ca-con">
                <p class="mt10"><input type="text" class="input-text input-text-w200" placeholder="请输入交易渠道名称" /></p>
                <p class="mt10">
                    <div class="form-select">
                        <select class="select select-w200">
                            <option>启用中</option>
                        </select>
                    </div>
                </p>
            </div>
        </div>
		<div class="mt20"><a href="javascript:;" class="c-btn c-btn-blue q-addpay"><i class="icon icon-add"></i>添加支付方式</a></div>
    </div>
    <div class="chan-box">
        <div class="cb-top">
        	支付方式1：微信支付
            <label class="radio ml25 checked" data-toggle="checkbox">
                <input type="radio" name="group1" checked>
                <i class="icon-radio"></i> 启用中
            </label>
            <a href="javascript:;" class="fr"><i class="icon icon-bedit"></i>编辑</a>
        </div>
        <div class="cb-box mt20">
        	<div class="cb-left">
            	<div>
                    <p><i class="icon icon-shop"></i></p>
                    <p>商户信息</p>
                </div>
            </div>
            <table class="tb tb-l c-t-center">
                <tr>
                    <th width="33%">商户号ID</th>
                    <th>收款银行帐号</th>
                </tr>
                <tr class="lgtr">
                    <td>WX1234567</td>
                    <td>招行：4327162618231</td>
                </tr>
            </table>
        </div>
        <div class="cb-box mt20">
        	<div class="cb-left">
            	<div>
                    <p><i class="icon icon-pay"></i></p>
                    <p>支付规则</p>
                </div>
            </div>
            <table class="tb tb-l c-t-center">
                <tr>
                    <th width="33%">交易规则</th>
                    <th width="33%">门诊</th>
                    <th>住院</th>
                </tr>
                <tr>
                    <td>单笔限额</td>
                    <td>
                    	<input type="text" class="input-text input-text-w80" value="1.00" />
                    	<span class="mlr5">-</span>
                    	<input type="text" class="input-text input-text-w80" value="2000.00" />
                        <span class="ml5">元</span>
                    </td>
                    <td>
                    	<input type="text" class="input-text input-text-w80" value="1.00" />
                    	<span class="mlr5">-</span>
                    	<input type="text" class="input-text input-text-w80" value="2000.00" />
                        <span class="ml5">元</span>
                    </td>
                </tr>
                <tr>
                    <td>单日限额</td>
                    <td>
                    	<input type="text" class="input-text input-text-w182" value="10000.00" />
                        <span class="ml5">元</span>
                    </td>
                    <td>
                    	<input type="text" class="input-text input-text-w182" value="10000.00" />
                        <span class="ml5">元</span>
                    </td>
                </tr>
                <tr>
                    <td>允许支付时段</td>
                    <td>
                    	<input type="text" class="input-text input-text-w80" value="0:30" />
                    	<span class="mlr5">-</span>
                    	<input type="text" class="input-text input-text-w80" value="23:30" />
                        <span class="ml5">&emsp;</span>
                    </td>
                    <td>
                    	<input type="text" class="input-text input-text-w80" value="0:30" />
                    	<span class="mlr5">-</span>
                    	<input type="text" class="input-text input-text-w80" value="23:30" />
                        <span class="ml5">&emsp;</span>
                    </td>
                </tr>
                <tr>
                    <td>是否允许信用卡支付</td>
                    <td>
                    	<div class="form-select">
                            <select class="select select-w182">
                                <option>允许</option>
                                <option>不允许</option>
                            </select>
                        </div>
                        <span class="ml5">&emsp;</span>
                    </td>
                    <td>
                    	<div class="form-select">
                            <select class="select select-w182">
                                <option>允许</option>
                                <option>不允许</option>
                            </select>
                        </div>
                        <span class="ml5">&emsp;</span>
                    </td>
                </tr>
                <tr>
                    <td>允许退款时段</td>
                    <td colspan="2">
                    	<input type="text" class="input-text input-text-w80" value="08:00~" />
                    	<span class="mlr5">-</span>
                    	<input type="text" class="input-text input-text-w80" value="22:00" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="cb-box mt20">
        	<div class="cb-left">
            	<div>
                    <p><i class="icon icon-qpower"></i></p>
                    <p>接口权限</p>
                </div>
            </div>
            <table class="tb tb-l c-t-center">
                <tr>
                    <td class="checktd">
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>统一下单接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>查询订单接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>关闭订单接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>申请退款接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>退款查询接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>当面付扫码支付接口
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>收银台二维码生成接口（H5）
                        </label>
                    	<label class="checkbox mr40" data-toggle="checkbox">
                            <input type="checkbox" name="tags">
                            <i class="icon-chkbox"></i>支付二维码生成接口（原生）
                        </label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="chan-bot">
    	<a href="javascript:;" class="c-btn c-btn-blue c-btn-tiny">保存</a>
		<a href="javascript:;" class="c-btn c-btn-white c-btn-tiny ml15">取消</a>
    </div>
</div>

<!--添加支付方式-->
<div class="c-hide" id="qAddpay">
	<div>
    	<p>支付方式</p>
    	<p class="mt5">
        	<div class="form-select">
                <select class="select select-w350">
                    <option>请选择</option>
                </select>
            </div>
        </p>
    	<p class="mt10">商户号ID</p>
    	<p class="mt5">
        	<div class="form-select">
                <select class="select select-w350">
                    <option>请选择</option>
                </select>
            </div>
        </p>
    	<p class="mt10">收款银行</p>
    	<p class="mt5"><input type="text" class="input-text input-text-w350" placeholder="根据商户号自动关联" /></p>
    	<p class="mt10">收款银行</p>
    	<p class="mt5">
        	<div class="form-select">
                <select class="select select-w350">
                    <option>已启用</option>
                </select>
            </div>
        </p>
    </div>
</div>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../widget/nicescroll/3.6.0/js/jquery.nicescroll.min.js"></script>
<script type="text/javascript" src="../widget/placeholder/2.0.7/js/jquery.placeholder.min.js"></script>
<link rel="stylesheet" href="../widget/artDialog/4.1.7/css/artDialog.css" type="text/css" />
<script type="text/javascript" src="../widget/artDialog/4.1.7/js/artDialog.js"></script>
<script type="text/javascript" src="../widget/laydate/laydate.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
<script type="text/javascript">
$(function(){
	laydate.render({
		elem: '.datetimepicker',
  		range: true
	});
});
//添加支付方式
$(document).on('click','.q-addpay',function(){
	var artBox=art.dialog({	
		lock: true,
		width: 450,
		padding:'10px 50px 20px 50px',
		title:'添加支付方式',
		content:$('#qAddpay').get(0),
		ok: function () {
			
		},
		cancel: true
	});
});
</script>
</body>
</html>